<template>
<view class="page">
	<MallHeader title="我的推广"></MallHeader>
	<view class="box pad">
		<view class="item" v-for="i in 3">
			<view class="left">
				<view class="shop-name">
					<text class="shop">四川成都上汽有限公司</text>
					<text class="label" :class="{shop:i%2==1,service:i%2==0}">线下联盟商家</text>
				</view>
				<view class="shop-time">
					2020-12-30 12:34
				</view>
			</view>
			<view class="right">
				入驻成功
			</view>
		</view>
	</view>
</view>
</template>

<script>
	import MallHeader from '@/components/mallHeader/mallHeader'
	export default {
		components:{
			MallHeader
		},
		data(){
			return {
				
			}
		},
		methods: {
			
		},
		created(){
			
		},
		mounted(){
			
		}
	}
</script>

<style scoped lang="scss">
	.box{
		margin-top: 30rpx;
		background: #FFFFFF;
	}
	.item{
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding:30rpx 0;
		box-sizing: border-box;
		border-bottom:1px solid #CDCDCD;
		.left{
			margin-right: auto;
			flex: 1;
			display: flex;
			flex-direction: column;
			.shop-name{
				font-size: 29rpx;
				color: #333333;
				display: flex;
				margin-right: auto;
				.shop{
					overflow: hidden;
					text-overflow: ellipsis;
					white-space: nowrap;
				}
				.label{
					margin-left: 25rpx;
					border-radius: 6rpx;
					color: #FFFFFF;
					font-size: 20rpx;
					padding:0 10rpx;
					display: flex;
					align-items: center;
					margin-right: auto;
					&.shop{
						background: #07C160;
						
					}
					&.service{
						background: #49A1F4;
					}
				}
			}
			.shop-time{
				margin-top: 10rpx;
				color: #999999;
				font-size: 24rpx;
			}
		}
		.right{
			color: #666666;
			font-size: 28rpx;
		}
	}
</style>
